//////////////////////////////////////////////////////////////////////
//
//  Class Name: GenericDatabase
//
//  Description: This Interface defines the basic calls needed to 
//               access a Database.
//
//  Revision History
//  Christian Romvary  01JUL2013
//
//////////////////////////////////////////////////////////////////////

package edu.psu.collegerecommendationhelper.database;

import edu.psu.collegerecommendationhelper.model.AccountInfo;
import edu.psu.collegerecommendationhelper.model.CollegeResult;
import edu.psu.collegerecommendationhelper.model.DemographicInfo;
import edu.psu.collegerecommendationhelper.model.EducationInfo;
import edu.psu.collegerecommendationhelper.model.PreferenceInfo;
import edu.psu.collegerecommendationhelper.model.UserBean;

public interface GenericDatabase {

   public UserBean retrieveUser (AccountInfo fbInfo) throws ClassNotFoundException;

   public void saveDemographicInfo (long user_id, DemographicInfo demInfo);
   public void saveEducationInfo (long user_id, EducationInfo eduInfo);
   public void savePreferenceInfo (long user_id, PreferenceInfo preInfo);
   public void saveResultList (long user_id, CollegeResult resultList);

}